const express = require("express");
const routes = require("./routes");
const app = express();

app.use(express.static("dist/client", { index: false }));

app.get("*", routes);

app.listen(3000, () => {
  console.log("Listen at http://localhost:3000");
});
